package com.jinzhi.common.wxpay.service;

import com.jinzhi.common.utils.Result;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @Author: mcf
 * @CreateTime: 2024/05/15
 * @Description: 微信小程序支付 service
 */
public interface WxPayCommonService {

    Map<String, Object> jsapiNativePay(String orderName, String appid,String openid, BigDecimal totalFee, String orderNo,String wxNotifyType) throws Exception;

    Result<?> jsapiRefund(String transactionId, String outRefundNo, BigDecimal totalAmount, BigDecimal refundAmount);

}
